package com.xinqi.modules.databank.dto.req;

import com.xinqi.common.base.response.Param;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 课程资料库文件-详情
 * @author: dzy
 * @date: 2023/03/14
 */
@Data
public class CourseResourcePartQueryDTO extends Param {

    /** 互动环节ID */
    @Schema(description = "互动环节ID")
    private Long id;
    /** 课程内容ID */
    @Schema(description = "课程内容ID")
    @NotNull(message = "课程内容ID不能为空")
    private Long contentId;
    /** 资料库文件ID */
    @Schema(description = "资料库文件ID")
    private Long resourceId;

}
